[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
startbuffer Command/ startcolumnset Command/ startcomment Command/ startdelimitedtext Command/ startdescription Command/ starteffect Command/ startenumeration Command/ startfittingpage Command/ startfloattext Command/ startformula Command/ startframedtext Command/ starthelp Command/ start

[NTG-context] Re: upload

2024-04-01 Thread Hans Hagen
this command can be used by people who want to transform the output PDF into an audio file, because for instance the following \usemodule[math-goodriddance] \goodriddancemath \starttext \startformula \int_{0}^{\pi} \sin(x)\dd x = 2. \stopformula \stoptext gives integral from 0 to 휋 , of sin

[NTG-context] Re: upload

2024-04-01 Thread Otared Kavian
to transform the output PDF into an audio file, because for instance the following \usemodule[math-goodriddance]\goodriddancemath\starttext\startformula\int_{0}^{\pi} \sin(x)\dd x = 2.\stopformula\stoptextgives  integral from 0 to 휋 , of sin of 푥 d 푥 equals 2  as one can see

[NTG-context] upload

2024-04-01 Thread Hans Hagen
like the Pythagorean theorem: \m {a^2 + b^2 = c^2}, or even with more advanced math like geometric series: \m {\sum_{k = 0}^{+\infty} x^k = 1/(1 - x)}? We will not support complicated nonsense stuff like: \startplaceformula \startformula F__{1}{2}(a,b;b;z) = (1 - z)^{-a} \stopformula \stopplaceformula

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-13 Thread Hans Hagen via ntg-context
t,depth=\strutdp,offset=.250ex,color=red] \definebar [yourbar] [backgroundbar] [height=\strutht,depth=\strutdp,offset=.125ex,color=blue] \definebar [ourbar] [backgroundbar] [height=\strutht,depth=\strutdp,offset=.125ex,color=green] \starttext \startTEXpage[width=4cm] \startformul

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Hans Hagen
| www.pragma-ade.nl | www.pragma-pod.nl - inter-001.pdf Description: Adobe PDF document \definebar[mybar][inlined][offset=.25ex,color=red] \starttext \startformula a \alignhere= b + c \breakhere \myba

[NTG-context] \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Max Chernoff
} \breakhere \stoptexdefinition \protect \starttext \section{Old alignment} \samplefile{knuth} \placeformula\startformula\startalign \NC \text{something} + \text{really} + \text{really} + \text{long} \NC= \sqrt{x} \NR[+] \intertext{\samplefile{knuth}}

[NTG-context] Re: Math alignment issue

2024-01-17 Thread Otared Kavian
] [left={\startmathfenced[cases]}, right=\stopmathfenced, align={1:right,2:left,3:left}, strut=yes] \setupformula [location=left] \starttext \samplefile{knuthmath} \startplaceformula \startformula \startalignedcases

[NTG-context] Re: Math alignment issue

2024-01-17 Thread Otared Kavian
{knuthmath}\startplaceformula \startformula \startalignedcases \NC u'(t) - \nabla \cdot (a(x)\nabla u) + Vu \NC = 0      \NC \mtext{bla bla bla}     \NR \NC u(x,0)                                   \NC = u_0(x) \NC \mtext{bla bla}         \NR      \NC u(t,\sigma)                              \NC

[NTG-context] Re: Question to a formular

2024-01-08 Thread Ursula Hermann
lp me please? > > > \starttyping > 0! := 1 > (n + 1)! := (n + 1) n! > \stoptyping Or: \startformula \startalign[n=1,align={1:left}] \NC 0! := 1\NR \NC (n + 1)! := (n + 1) n!\NR \stopalign \stopformula https://wiki.context

[NTG-context] Re: Question to a formular

2024-01-05 Thread Ursula Hermann
> > I have this formular, but no idea , how to write it in Context. This is a > formular with factorial. > > > 0! := 1 > (n + 1)! := (n + 1) n! > > Can someone help me please? \starttext \startformula \startalign \NC 0! \NC \colonequals 1 \NR \NC (n+1)! \NC \co

[NTG-context] Re: Question to a formular

2024-01-05 Thread Taco Hoekwater
> On 05/01/2024 14:27, Ursula Hermann wrote: > >> Can someone help me please? > > > \starttyping > 0! := 1 > (n + 1)! := (n + 1) n! > \stoptyping Or: \startformula \startalign[n=1,align={1:left}] \NC 0! := 1\NR \NC (n + 1)! := (n + 1) n!\NR

[NTG-context] Re: Question to a formular

2024-01-05 Thread Aditya Mahajan
On Fri, 5 Jan 2024, Ursula Hermann wrote: > Dear list, > > > I have this formular, but no idea , how to write it in Context. This is a > formular with factorial. > > > 0! := 1 > (n + 1)! := (n + 1) n! > > Can someone help me please? \starttext \star

[NTG-context] Re: increase vertical between underbrace and equation

2023-12-19 Thread Mikael Sundqvist
Hi, On Mon, Dec 18, 2023 at 6:57 PM Dean Hung wrote: > > Hi ConText friends, > > I am trying to increase the vertical distance between the underbrace and the > part of the equation above the underbrace. > > \startformula > \underbrace{x+y+z}_{\blank[1cm]\mathrm{my te

[NTG-context] Re: increase vertical between underbrace and equation

2023-12-18 Thread Dean Hung
t;>> > >>> There are various solutions available for LaTex, and they require > external > >>> packages (e.g., BigStrut, vphantom) that redefine the strut height. > >>> > >>> I hope I'm missing something simple... Any help would be greatly > &g

[NTG-context] Re: increase vertical between underbrace and equation

2023-12-18 Thread Dean Hung
the part of the equation above the underbrace. > > > > \startformula > > \underbrace{x+y+z}_{\blank[1cm]\mathrm{my text here}} > > \stopformula > > > > I've tried using \blank and \vspace, but to no avail. For example: > > > > \underbrace{x+y+z}_{\bl

[NTG-context] Re: increase vertical between underbrace and equation

2023-12-18 Thread Wolfgang Schuster
don't need any packages for simple stuff: \startformula \underbrace[mindepth=1cm]{x+y+z}_{\mathrm{my text here}} \stopformula Actually, realized that you want more distance in the other direction. One option is to use \vrule. \underbrace{x+y+z}_{\vrule width 0pt height 1cm\relax\mathrm{my text

[NTG-context] Re: increase vertical between underbrace and equation

2023-12-18 Thread Aditya Mahajan
y > > appreciated! > > Hey, this is context. We don't need any packages for simple stuff: > > \startformula > \underbrace[mindepth=1cm]{x+y+z}_{\mathrm{my text here}} > \stopformula Actually, realized that you want more distance in the other direction. One option is to use

[NTG-context] Re: increase vertical between underbrace and equation

2023-12-18 Thread Aditya Mahajan
On Mon, 18 Dec 2023, Dean Hung wrote: > Hi ConText friends, > > I am trying to increase the vertical distance between the underbrace and > the part of the equation above the underbrace. > > \startformula > \underbrace{x+y+z}_{\blank[1cm]\mathrm{my text here}} > \sto

[NTG-context] increase vertical between underbrace and equation

2023-12-18 Thread Dean Hung
Hi ConText friends, I am trying to increase the vertical distance between the underbrace and the part of the equation above the underbrace. \startformula \underbrace{x+y+z}_{\blank[1cm]\mathrm{my text here}} \stopformula I've tried using \blank and \vspace, but to no avail. For example

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Wolfgang Schuster
{} and \tfrac{} ? \frac switches the math style while \tfrac (textstyle), \dfrac (displaystyle) and \sfrac (scriptstyle) enforce a certain style. begin example \startbuffer[frac] \frac{1}{2} + \dfrac{1}{2} - \tfrac{1}{2} + \sfrac{1}{2} \stopbuffer \starttext \startformula \getbuffer[frac

[NTG-context] Re: mathalignment; alignment of columns

2023-11-24 Thread Mikael Sundqvist
gt; According to my recent tests, a mathalignment environment does not seem to > react (any more) to the values of the "align" option. > The source code hab been rendered correctly a few years ago, > > Minimal example 1: > > \starttext > \startformula > \startmathal

[NTG-context] mathalignment; alignment of columns

2023-11-24 Thread wolfgangbackes--- via ntg-context
, Minimal example 1: \starttext \startformula \startmathalignment[n=2,align={left, right}] \NC always aligned to the right \NC = u + at, \NR \NC d \NC = ut + \frac12 at^2. \NR \stopmathalignment \stopformula \stoptext Despite "align={left, right}", the first column is aligned to the rig

[NTG-context] Re: Several math features broke for me in new Debian version

2023-11-03 Thread Kumar Appaiah
On Fri, Nov 03, 2023 at 01:16:15PM +0100, Wolfgang Schuster wrote: > > \starttext > > Hello world! > > \startformula > > X(f) = \startcases[align={right,left},distance=3pt] > > \NC T, \NC{} $|f| < \frac{1}{2T}$ \NR > > \NC 0, \NC{} $|f|

[NTG-context] Re: Several math features broke for me in new Debian version

2023-11-03 Thread Wolfgang Schuster
+dfsg-2, several math features seem to break for me. Here is an example: \starttext Hello world! \startformula X(f) = \startcases[align={right,left},distance=3pt] \NC T, \NC{} $|f| < \frac{1}{2T}$ \NR \NC 0, \NC{} $|f| \geq \frac{1}{2T}$ \NR \stopcases \stopformula \stoptext There

[NTG-context] Re: Example is not working

2023-11-03 Thread Ursula Hermann
n help me. \starttext ... \stoptext is missing! > This litte example is from the wiki, i wanted to try \placeformula \starttext > \placeformula[formula:aformula] > \startformula > y=x^2 > \stopformula > \placeformula > \startformula > \int_0^1 x^2 dx >

[NTG-context] Several math features broke for me in new Debian version

2023-11-03 Thread Kumar Appaiah
. Here is an example: \starttext Hello world! \startformula X(f) = \startcases[align={right,left},distance=3pt] \NC T, \NC{} $|f| < \frac{1}{2T}$ \NR \NC 0, \NC{} $|f| \geq \frac{1}{2T}$ \NR \stopcases \stopformula \stoptext The above works very well in 2021.03.05.20230120+dfsg-1+deb1

[NTG-context] Re: Example is not working

2023-11-03 Thread Aditya Mahajan
On Fri, 3 Nov 2023, Ursula Hermann wrote: > Dear List, > i hope somone can help me. \starttext ... \stoptext is missing! > This litte example is from the wiki, i wanted to try \placeformula \starttext > \placeformula[formula:aformula] > \startformula > y=x^2 > \stopfo

[NTG-context] Example is not working

2023-11-03 Thread Ursula Hermann
Dear List, i hope somone can help me. This litte example is from the wiki, i wanted to try \placeformula \placeformula[formula:aformula] \startformula y=x^2 \stopformula \placeformula \startformula \int_0^1 x^2 dx \stopformula After compiling there is no PDF Page . But this: Command Line

[NTG-context] Re: Color option in \setupinteraction doesn't work sometimes

2023-10-28 Thread Mikael Sundqvist
le: >> >> ConTeXt ver: 2023.09.26 18:19 LMTX >> >> \setupinteraction[state=start, color=black] >> >> \starttext >> >> \placeformula[eq:equation1] >> \startformula >> x >> \stopformula >> >> References are red on the fi

[NTG-context] Re: Color option in \setupinteraction doesn't work sometimes

2023-10-28 Thread Mia Bikey
software issue but it is > still the same. > > Here is a minimal working example: > > ConTeXt ver: 2023.09.26 18:19 LMTX > > \setupinteraction[state=start, color=black] > > \starttext > > \placeformula[eq:equation1] > \startformula > x > \stopformula

[NTG-context] Color option in \setupinteraction doesn't work sometimes

2023-10-28 Thread Mia Bikey
\setupinteraction[state=start, color=black] \starttext \placeformula[eq:equation1] \startformula x \stopformula References are red on the first page \in[eq:equation1] \at{page}[eq:equation1] \input tufte \input tufte \input tufte \input tufte \input tufte Now they become black \in[eq:equation1] \at{page

[NTG-context] Re: Combining python and lua

2023-10-25 Thread Bruce Horrocks
with math notation) and to compute the > trigonometric function leading to sin(pi/4) = 1/2, or cos(pi/6) = sqrt(3)/2 > and display it in math mode. You can use templates to subtitute values into a string and then send that out to be typeset. For example: if you want to turn "sin(pi/4) = 1/2"

[NTG-context] Re: formula alignment for mathalign

2023-09-28 Thread Mikael Sundqvist
Hi, On Thu, Sep 28, 2023 at 6:39 PM Aditya Mahajan wrote: > > Hi, > > The `align` parameter of `\setupformulas` is ignored in mathalign. Consider > the following MWE: > > \setupformulas[align=flushleft,leftmargin=2em] > > \starttext > \startformula &

[NTG-context] formula alignment for mathalign

2023-09-28 Thread Aditya Mahajan
Hi, The `align` parameter of `\setupformulas` is ignored in mathalign. Consider the following MWE: \setupformulas[align=flushleft,leftmargin=2em] \starttext \startformula A = B \stopformula vs \startformula \startalign \NC A \NC B \NR \NC A \NC B \NR \stopalign \stopformula \stoptext

[NTG-context] Re: Issue : compilation error when using mathcases with pagella fonts (and others)

2023-09-24 Thread Hans Hagen
2986: in function <...ext/tex/texmf-context/tex/context/base/mkxl/math-noa.lmt:2984> 1 \setupbodyfont[pagella] 2 3 \starttext 4 \startformula 5 \delta_{ij} = 6 \startmathcases 7 \NC 1 \NC \text{if } i = j \NR 8 \NC 0 \NC \text{otherwise} \NR 9

[NTG-context] Re: Issue : compilation error when using mathcases with pagella fonts (and others)

2023-09-24 Thread Pablo Rodriguez
x/texmf-context/tex/context/base/mkxl/math-noa.lmt:2984> 1 \setupbodyfont[pagella] 2 3 \starttext 4 \startformula 5 \delta_{ij} = 6 \startmathcases 7 \NC 1 \NC \text{if } i = j \NR 8 \NC 0 \NC \text{otherwise} \NR 9

[NTG-context] Re: Issue : compilation error when using mathcases with pagella fonts (and others)

2023-09-24 Thread Mikael Sundqvist
xT. The problem seems to occur when using mathcases > with some ConTeXt provided fonts, including pagella. This is a minimal not > working example : > > \setupbodyfont[pagella] > > \starttext > \startformula > \delta_{ij} = > \startmathcases > \NC 1 \NC \text{if

[NTG-context] Issue : compilation error when using mathcases with pagella fonts (and others)

2023-09-24 Thread Vincent Picard
\startformula \delta_{ij} = \startmathcases \NC 1 \NC \text{if } i = j \NR \NC 0 \NC \text{otherwise} \NR \stopmathcases \stopformula \stoptext The error is : run callback [44]: ...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:56: table index is nil\nstack traceback:\n ...ext/tex/texmf

[NTG-context] Re: \dontleavethemode

2023-09-12 Thread Wolfgang Schuster
, width=1cm]\\Me}\blackrule[color=black, height=0.05ex, width=4cm] \startformula a^n + b^n = c^n. \stopformula \stoptext My Question is , where to put margintext, with \dontleavethemode, with blackrule, because if I put it after \starttext: \margintext{\blackrule\\{Me}}\dontleavehmode\blackrule

[NTG-context] \dontleavethemode

2023-09-12 Thread Ursula Hermann
}\blackrule[color=black, height=0.05ex, width=4cm] \startformula a^n + b^n = c^n. \stopformula \stoptext My Question is , where to put margintext, with \dontleavethemode, with blackrule, because if I put it after \starttext: \margintext{\blackrule\\{Me}}\dontleavehmode\blackrule Before : \margintext

[NTG-context] (no subject)

2023-09-05 Thread Ursula Hermann
}}\dontleavehmode\hairline \startformula a^n + b^n = c^n. \stopformula \stoptext I get: Command Line: context.exe --synctex=-1 "blackrule1.tex" Startup Folder: \\ub.univie.ac.at\U_Dom\Users G-L\Hermann\Documents\Texlive resolvers | formats | executing runner 'run luametatex format':

[NTG-context] After compiling

2023-09-04 Thread Ursula Hermann
bruary 2021: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me}}\dontleavehmode\hairline \startformula a^n + b^n = c^n. \stopformula \stoptext

[NTG-context] Re:

2023-09-04 Thread Ursula Hermann
,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \showframe \starttext \margintext{\hairline\\{Me}}\dontleavehmode\hairline \startformula a^n + b^n = c^n. \stopformula \stoptext I get: Command Line: context.exe

[NTG-context] Re: split align in formulas

2023-08-14 Thread Mikael Sundqvist
; james-tanton-web}. > \placeformula[eq:james-tanton-canvi-de-variables] > \startformula > \startalign > \NC ax^2 + bx + c = 0 \NC \NR > \NC ax^2 + bx = -c \NC \quad \text{transposem } c\NR > \NC x^2 + \frac{b}{a} x = - \frac{c}{a} \NC \quad \text{dividim per }a\NR > \NC x \left( x + \frac{

[NTG-context] split align in formulas

2023-08-14 Thread Xavier B.
I have this text and the end of the paragraph: Definitivament és el mètode més senzill. L'atribució més antiga que conec d'aquest mètode és de James Tanton \cite{canvi-variable-equacio-segon-grau, james-tanton-web}. \placeformula[eq:james-tanton-canvi-de-variables] \startformula \startalign \NC

[NTG-context] Re: Nested aligns in formulasjj

2023-08-14 Thread Gerion Entrup
Am Montag, 14. August 2023, 13:44:44 CEST schrieb Mikael Sundqvist: > Hi, > > I do not understand what you want to have, so here is just something > weird, but probably you look for simplealign. > > \definemathsimplealign > [whatever] > > \starttext > \startformu

[NTG-context] Re: Nested aligns in formulasjj

2023-08-14 Thread Gerion Entrup
Am Montag, 14. August 2023, 13:33:33 CEST schrieb Hans Hagen: > On 8/14/2023 1:16 PM, Gerion Entrup wrote: > > Hi, > > > > I try to typeset a nested align in a formula. However, the results looks > > really wrong. Here is a MWE: > > > > ``` > > \st

[NTG-context] Re: Nested aligns in formulasjj

2023-08-14 Thread Mikael Sundqvist
Hi, I do not understand what you want to have, so here is just something weird, but probably you look for simplealign. \definemathsimplealign [whatever] \starttext \startformula \startalign \NC a = \NC (b, c) \quad \mtext{with}\NR \NC \NC \startwhatever \NC b \NC = something \NR \NC c \NC

[NTG-context] Re: Nested aligns in formulasjj

2023-08-14 Thread Hans Hagen
On 8/14/2023 1:16 PM, Gerion Entrup wrote: Hi, I try to typeset a nested align in a formula. However, the results looks really wrong. Here is a MWE: ``` \starttext \startformula \startalign \NC a = \NC (b, c) \quad \text{with}\NR \NC \NC \startalign

[NTG-context] Nested aligns in formulasjj

2023-08-14 Thread Gerion Entrup
Hi, I try to typeset a nested align in a formula. However, the results looks really wrong. Here is a MWE: ``` \starttext \startformula \startalign \NC a = \NC (b, c) \quad \text{with}\NR \NC \NC \startalign \NC b \NC

[NTG-context] Re: Fira Math: goodies needed?

2023-07-23 Thread Leah Neukirchen
rizontal axis, >> i.e. the 0 is far away from the integral sign: >> >> >> \definefontfamily [mainface] [mm] [Fira Math] >> \setupbodyfont[mainface] >> >> \starttext >> \startformula >> \int_0^1 e^x >> \stopformula >&g

[NTG-context] Re: Fira Math: goodies needed?

2023-07-22 Thread Mikael Sundqvist
t; > > \definefontfamily [mainface] [mm] [Fira Math] > \setupbodyfont[mainface] > > \starttext > \startformula > \int_0^1 e^x > \stopformula > \stoptext > > > Meanwhile, when I use LaTeX, the 0 is moved to the left and close to > the integral sign: > >

[NTG-context] Fira Math: goodies needed?

2023-07-21 Thread Leah Neukirchen
Hi, I'm trying to use Fira Math (https://github.com/firamath/firamath). But this small example yields both limits on the same horizontal axis, i.e. the 0 is far away from the integral sign: \definefontfamily [mainface] [mm] [Fira Math] \setupbodyfont[mainface] \starttext \startformula

[NTG-context] Link from a PDF to a reference of an embedded PDF

2023-07-20 Thread Gerion Entrup
nk to them within the main context document? In [2], I found something maybe related but it requires a tuc file. Example: inner.tex: ``` \starttext \startsection[title=References, reference=sec:ref] Some text \placeformula[eq:foo] \startformula 1 + 2 = 3 \stopformula or: \startitemize[n]

Re: [NTG-context] ntg-context Digest, Vol 227, Issue 15

2023-05-09 Thread Sebastian Ørsted via ntg-context
ut \stopinnermath > > \afterdisplayspace \egroup > > \m_operator_text > > \strc_formulas_place_number \strc_formulas_flush_number > \dostarttagged \t!formulacontent \empty \dotagregisterformula > \c_strc_formulas_n \csname \e!stop \formulaparameter \c!alternative > \v!f

Re: [NTG-context] This is rmally done by loading special math fonts into the math family slots.

2023-05-09 Thread Carlos via ntg-context
t; > \strc_formulas_place_number \strc_formulas_flush_number > > > \dostarttagged \t!formulacontent \empty \dotagregisterformula > > > \c_strc_formulas_n \csname \e!stop \formulaparameter \c!alternative > > > \v!formula \endcsname > > > \dostoptagged \dostoptagged

Re: [NTG-context] This is rmally done by loading special math fonts into the math family slots.

2023-05-09 Thread Carlos via ntg-context
ulas_n \csname > > \e!stop \formulaparameter \c!alternative \v!formula \endcsname > > \dostoptagged \dostoptagged \nonoindentati > > > > \stopformula > > > > \startformula > > \int_{\infty} > > >> \stopformula > > > > Sor

Re: [NTG-context] This is rmally done by loading special math fonts into the math family slots.

2023-05-09 Thread Carlos via ntg-context
ive \v!formula \endcsname > \dostoptagged \dostoptagged \nonoindentati > > \stopformula > > \startformula > > \int_{\infty}

Re: [NTG-context] This is rmally done by loading special math fonts into the math family slots.

2023-05-09 Thread Mikael Sundqvist via ntg-context
; \t!formulacontent \empty \dotagregisterformula \c_strc_formulas_n \csname > \e!stop \formulaparameter \c!alternative \v!formula \endcsname > \dostoptagged \dostoptagged \nonoindentati > > \stopformula > > \startformula > \int_{\infty} > >> \stopf

[NTG-context] This is rmally done by loading special math fonts into the math family slots.

2023-05-09 Thread Carlos via ntg-context
ged \nonoindentati \stopformula \startformula \int_{\infty} >> \st

Re: [NTG-context] Nuclear reactions

2023-04-16 Thread Tomáš Hála via ntg-context
Hi Gavin, maybe you have solved your problem yet. \startformula {\null}^^{194}__{38}{\rm Sr} or {\hbox{Xe}}^^{140}__{54}. \stopformula Better, ConTeXt way could be the variation on \chem: \unexpanded\def\isotope#1#2#3{\dontleavehmode\begingroup\null\lohi[left]{#2}{#3}#1\endgroup} \isotope{Sr

Re: [NTG-context] Nuclear reactions

2023-04-15 Thread Gavin via ntg-context
}} \starttext Reaction: \startformula \U{235} + n \rightarrow \Sr{94} + \Xe{140} + 2n \stopformula \stoptext Since I will be writing many reactions with a dozen or so different atomic symbols, it makes sense to create a command for each atomic symbol that adds the correct atomic number and takes

[NTG-context] Nuclear reactions

2023-04-15 Thread Gavin via ntg-context
Hi list, I’m writing nuclear reactions. When add prescripts to atomic symbols with two letters, (Be, Sr, Xe, etc.) the prescripts split the atoms! (See output below.) \starttext Text: \lohi[left]{4}{10}Be. Reaction: \startformula {\rm U}^^{235}__{92} + n \rightarrow {\rm Sr}^^{94}__{38

Re: [NTG-context] How to use noto sans math font?

2023-04-05 Thread Mikael Sundqvist via ntg-context
which can be downloaded from > https://fonts.google.com/noto/specimen/Noto+Sans+Math > > But I use it like the following > > \definefontfamily[myfonts][rm][latin modern roman] > \definefontfamily[myfonts][mm][noto sans math] > \setupbodyfont[myfonts,rm,12pt] > \starttext > Test

[NTG-context] How to use noto sans math font?

2023-04-05 Thread 李延瑞
Test Noto Sasn Math Fonts \startformula a^2 \quad \sqrt{a} \stopformula \stoptext I get the errors `Math error: parameter 'supshiftup' with id 51 in style 0 is not set'. Is there some method to solve it? -- Best regards, Li Yanrui

Re: [NTG-context] registered function call [1160]:...live/2023/texmf-dist/tex/context/base/mkiv/l-sandbox.lua:87: cannot open /.: Permission denied - Alpine Linux

2023-04-05 Thread Carlos via ntg-context
fc resizing in math mode The only mention of anything similar happened back in 2009 (but then again this was with mkii). There may be more similar issues in the list. I just didn't have the time to look for it. https://www.mail-archive.com/ntg-context@ntg.nl/msg40224.html But anyhow, the follow

Re: [NTG-context] update / punctuation / math

2023-04-01 Thread Alan Braslau via ntg-context
ed in > modern explorative and daring math thesis. When symbols are > really used, and > we have proof of that, it should be possible to get them un > \UNICODE, just > like all these emoji. We welcome input and as an example of > currently faked > symbol

Re: [NTG-context] update / punctuation / math

2023-04-01 Thread Willi Egger via ntg-context
of currently faked >symbols we added some to the distribution as easter eggs. One example: > >Mikael got contacted by a stressed student working on a thesis on >probability. This student needed to typeset the characteristic function of > a >random variable \i

[NTG-context] update / punctuation / math

2023-04-01 Thread Hans Hagen via ntg-context
math] \startformula E[\ee^{\ii tX}] = \widerandomhat{f_{X}}(t)\mtp{,} E[\ee^{\ii t(X_1+X_2)}] = \widerandomhat{f_{X_1} \ast f_{X_2}}(t)\mtp{.} \stopformula Naturally, it is automatically scaled, just like the ordinary wide hat \startformula \widehat{a+b+c+d+e+f}

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-31 Thread Xavier B. via ntg-context
The {\darkgreen angle $\alpha$} is $30^\circ$ in the example ($\pi/6$ in radians). The {\red sine of $\alpha$}, which is the height of the red line, is \startformula

Re: [NTG-context] Spacing problem around decimal point

2023-03-28 Thread Bruce Horrocks via ntg-context
cking the new binary. (Thanks, Günter!) The x86_64-darwinlegacy from that download link version has fixed the problem on the Mac. Thank-you all involved. \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext gives the attached. —

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Bruce Horrocks via ntg-context
via ntg-context wrote: >>>> Hi List, >>>> I’m getting strange spaces around some decimal points after a clean >>>> LMTX >>>> install. MWE: >>>> \starttext >>>> \startformula >>>> v = \frac{1.32}{1.41

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Jim via ntg-context
t;> Hi List, >>> I’m getting strange spaces around some decimal points after a clean >>> LMTX >>> install. MWE: >>> \starttext >>> \startformula >>> v = \frac{1.32}{1.41} = 0.935 >>> \stopformula >>> \stoptext >>>

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Günter Kolousek via ntg-context
: Hi List, I’m getting strange spaces around some decimal points after a clean LMTX install. MWE: \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext This produces the result attached below. The 1.32 looks fine, but the next two numbers have excess space around

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Hans Hagen via ntg-context
On 3/26/2023 4:20 AM, Gavin via ntg-context wrote: Hi List, I’m getting strange spaces around some decimal points after a clean LMTX install. MWE: \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext This produces the result attached below. The 1.32 looks

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Hans Hagen via ntg-context
On 3/26/2023 4:20 AM, Gavin via ntg-context wrote: Hi List, I’m getting strange spaces around some decimal points after a clean LMTX install. MWE: \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext This produces the result attached below. The 1.32 looks

Re: [NTG-context] \definemathfence broken in latest

2023-03-26 Thread Mikael Sundqvist via ntg-context
es] > > \starttext > \startformula > \abs{v} = \frac{1.32}{1.41} = 0.935 > \stopformula > \stoptext > > This causes an error, complaining that \abs is undefined. However, workes > fine with > > ConTeXt ver: 2023.02.07 19:06 LMTX fmt: 2023.3.14 int: english/englis

[NTG-context] \definemathfence broken in latest

2023-03-25 Thread Gavin via ntg-context
Hi List, The command \definemathfence seems to not be working as it did in other recent LMTX. MWE: \definemathfence[abs][bar][command=yes] \starttext \startformula \abs{v} = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext This causes an error, complaining that \abs is undefined

[NTG-context] Spacing problem around decimal point

2023-03-25 Thread Gavin via ntg-context
Hi List, I’m getting strange spaces around some decimal points after a clean LMTX install. MWE: \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext This produces the result attached below. The 1.32 looks fine, but the next two numbers have excess space around

Re: [NTG-context] Building fomula

2023-03-25 Thread Willi Egger via ntg-context
Hello Alexandre, thank you so much, this is precisely what I was looking for! Cheers Willi > On 25 Mar 2023, at 18:28, Alexandre Christe via ntg-context > wrote: > > Hi Willi, > > A dead simple solution would be > > \starttext > \startformula > {\f

Re: [NTG-context] Building fomula

2023-03-25 Thread Alexandre Christe via ntg-context
Hi Willi, A dead simple solution would be \starttext \startformula {\frac{47 \times 62}{44 \times 56}} \times {12} \qquad \rm{or} \qquad {{\frac{47 \times 62 \times 12}{44 \timess 56}}=14.2 \rm kilo} \stopformula \stoptext Le sam. 25 mars 2023 à 18:09, Willi Egger via ntg-context <

[NTG-context] Building fomula

2023-03-25 Thread Willi Egger via ntg-context
. In the setup of book there would be enough place, if I coud decrease the space left and right of the ‘or’. How can I achieve this? Cheers Willi \starttext \startformulas \startformula[align=right] {\frac{47 \times 62}{44 \times 56}} \times {12} \stopformula \startformula

Re: [NTG-context] \unit parser ignoring case, in some cases.

2023-03-14 Thread Hans Hagen via ntg-context
ing at why my \registerunit attempt failed, I found that when you register a unit, both your capitalization, and an all lowercase version are registered. Here is an example, where I register “ReTeM” but \unit{1 retem} also works. \starttext \registerunit[unit][ReTeM=myunit] \setupunittext[myun

Re: [NTG-context] \unit parser ignoring case, in some cases.

2023-03-14 Thread Gavin via ntg-context
ing now. Looking at why my \registerunit attempt failed, I found that when you register a unit, both your capitalization, and an all lowercase version are registered. Here is an example, where I register “ReTeM” but \unit{1 retem} also works. \starttext \registerunit[unit][ReTeM=myunit] \se

Re: [NTG-context] \unit parser ignoring case, in some cases.

2023-03-14 Thread Hans Hagen via ntg-context
On 3/13/2023 10:55 PM, Gavin wrote: On Mar 13, 2023, at 3:44 PM, Hans Hagen via ntg-context wrote: On 3/9/2023 2:04 PM, Gavin via ntg-context wrote: \startformula \unit{3 meter} \qquad \unit{6 Meter} \qquad \unit{3 mEtEr} \qquad \stopformula Units with lowercase prefixes (c, k, n

Re: [NTG-context] \unit parser ignoring case, in some cases.

2023-03-13 Thread Gavin via ntg-context
> On Mar 13, 2023, at 3:44 PM, Hans Hagen via ntg-context > wrote: > > On 3/9/2023 2:04 PM, Gavin via ntg-context wrote: >> \startformula >> \unit{3 meter} \qquad >> \unit{6 Meter} \qquad >> \unit{3 mEtEr} \qquad >> \stopformula

Re: [NTG-context] \unit parser ignoring case, in some cases.

2023-03-13 Thread Hans Hagen via ntg-context
On 3/9/2023 2:04 PM, Gavin via ntg-context wrote: \startformula \unit{3 meter} \qquad \unit{6 Meter} \qquad \unit{3 mEtEr} \qquad \stopformula Units with lowercase prefixes (c, k, n). \startformula \unit{3cm} \qquad \unit{6kg} \qquad \unit{3ns} \qquad \stopformula Units

Re: [NTG-context] Bug in maths environment: thematrix

2023-03-12 Thread Hans Hagen via ntg-context
noticed this bug two weeks ago, but could not produce a minimal example until now… Please see below, in particular the output for the matrices M_1, M_2 and M_3… Best regards: Otared % begin bug-thematrix.tex \starttext \startformula M_{1}(t) := \thematrix{{\rm e}^s ; {\rm e}^t}, \qquad B_{1}(t

[NTG-context] Bug in maths environment: thematrix

2023-03-09 Thread Otared Kavian via ntg-context
a minimal example until now… Please see below, in particular the output for the matrices M_1, M_2 and M_3… Best regards: Otared % begin bug-thematrix.tex \starttext \startformula M_{1}(t) := \thematrix{{\rm e}^s ; {\rm e}^t}, \qquad B_{1}(t) := \thematrix{1 , {\rm e}^t}, \stopformula \startformula M_{2

[NTG-context] \unit parser ignoring case, in some cases.

2023-03-09 Thread Gavin via ntg-context
below demonstrates the behavior. Obviously, I can use full names in my document. However, I would like the standard SI symbols, which are single capital letters, to work for me and my less TeX-savvy colaborators. Thanks! Gavin \starttext Units does not completely ignore case. \startformula

Re: [NTG-context] Math Formula Alignment

2023-02-24 Thread Lutz Haseloff via ntg-context
: Hi Hans, hi all, the alignment of formulas seems broken: \setuppapersize[A5] \starttext \setuplayout[textwidth=8cm] \setupformulas[align=left] \startformula c^2 = a^2 + b^2 \stopformula \setupformulas[align=middle] \startformula c^2 = a^2 + b^2 \stopformula \setupformulas[align=right] \startformula

Re: [NTG-context] update

2023-02-24 Thread Otared Kavian via ntg-context
Hi Hans, Thank you very much for the new update. Everything seem to work like a charm. In particular I played with the \underbrace and \overbrace when adding something under the \underbrace, or above the \overbrace, like in \startformula \overbrace{1+x^2+a}^{= -1} + \underbrace{ax^2 + bx + c

Re: [NTG-context] Math Formula Alignment

2023-02-23 Thread Hans Hagen via ntg-context
] \startformula c^2 = a^2 + b^2 \stopformula \setupformulas[align=middle] \startformula c^2 = a^2 + b^2 \stopformula \setupformulas[align=right] \startformula c^2 = a^2 + b^2 \stopformula \setupformulas[align=left] \placeformula \startformula c^2 = a^2 + b^2 \stopformula \setupformulas[align=middle] \placeformula

Re: [NTG-context] Math Formula Alignment

2023-02-18 Thread Mikael Sundqvist via ntg-context
Hi, On Sat, Feb 18, 2023 at 3:01 PM Lutz Haseloff via ntg-context wrote: > > Hi Hans, hi all, > > the alignment of formulas seems broken: > > \setuppapersize[A5] > \starttext > \setuplayout[textwidth=8cm] > \setupformulas[align=left] > \startformula c^2 = a^2 + b^2

[NTG-context] Math Formula Alignment

2023-02-18 Thread Lutz Haseloff via ntg-context
Hi Hans, hi all,   the alignment of formulas seems broken:   \setuppapersize[A5] \starttext \setuplayout[textwidth=8cm] \setupformulas[align=left] \startformula c^2 = a^2 + b^2 \stopformula \setupformulas

Re: [NTG-context] Math issue

2023-02-18 Thread Willi Egger via ntg-context
gt;> 2. Why is the result after the equalsign in the denominator? >> \starttext >> \startformulas >> \startformula >>\bgroup{47 \times 62}\over {44 \times 56}\egroup \times {12} >> \stopformula >> \startformula >>{{47 \times 62 \times 1

Re: [NTG-context] Math issue

2023-02-16 Thread Hans Hagen via ntg-context
the grouping with bracis, which gives the same result. 2. Why is the result after the equalsign in the denominator? \starttext \startformulas \startformula \bgroup{47 \times 62}\over {44 \times 56}\egroup \times {12} \stopformula \startformula {{47 \times 62

[NTG-context] Math issue

2023-02-16 Thread Willi Egger via ntg-context
is the result after the equalsign in the denominator? \starttext \startformulas \startformula \bgroup{47 \times 62}\over {44 \times 56}\egroup \times {12} \stopformula \startformula {{47 \times 62 \times 12} \over {44 \times 56}}=14.2\ \rm kilo

[NTG-context] Font substitution for extensible symbols

2023-02-01 Thread Yaroslav Beltukov via ntg-context
\startformula \sqrt{\frac{1}{2}}\dorecurse{15}{+\sqrt{\blackrule[width=10pt,height=#1pt,depth=#1pt,color=gray]}} \stopformula \startformula \sqrt{\blackrule[width=10pt,height=100pt,depth=100pt,color=gray]} \stopformula \stoptext It works in MKIV but it gives the following error in the latest LMTX

  1   2   3   4   5   6   7   8   9   10   >